import React, { Component } from 'react'
import Search from './components/Search'
import Lists from './components/Lists'
import './App.css'
export default class App extends Component {


  // getSearchData = (stateObj)=>{
  //   this.setState(stateObj)
  // }

  render() {
    return (
      <div className="containers">
        <Search getSearchData={this.getSearchData}/>
        <Lists {...this.state} />
      </div>
    )
  }
}
